/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.oohadv.util;

import com.oohadv.dao.ibase.HoardingDAO;
import com.oohadv.dao.impl.HoardingDAOImpl;
import com.oohadv.entity.Tblhoarding;
import java.util.List;

/**
 *
 * @author vinits
 */
public class MainDemo {
    public static void main(String[] args) {
        HoardingDAO hDAO=new HoardingDAOImpl();
        List<Tblhoarding> findAll = hDAO.findAll();
        for(Tblhoarding h:findAll)
            System.out.println(h);
        
        System.out.println(hDAO.findById(2));
    }
}
